package com.product.to;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@Schema(title = "添加检测记录To")
public class AddInspectorCordTo {
    @NotNull(message = "流水线id不能为空")
    @Schema(title = "流水线id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer lineId;

    @NotNull(message = "检测照片不能为空")
    @Schema(title = "检测照片", requiredMode = Schema.RequiredMode.REQUIRED)
    private String defectFile;
}
